﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Super.Admin.Global
{
    public static class PermissionKeys
    {
        // Menu
        public static string MenuCreate { get; set; } = "system:menu:create";
        public static string MenuCreateChild { get; set; } = "system:menu:createchild";
        public static string MenuUpdate { get; set; } = "system:menu:update";
        public static string MenuDelete { get; set; } = "system:menu:delete";
        
        // Department
        public static string DepartmentCreate { get; set; } = "system:department:create";
        public static string DepartmentCreateChild { get; set; } = "system:department:createchild";
        public static string DepartmentUpdate { get; set; } = "system:department:update";
        public static string DepartmentDelete { get; set; } = "system:department:delete";

        // User
        public static string UserCreate { get; set; } = "system:user:create";
        public static string UserSearch { get; set; } = "system:user:search";
        public static string UserUpdate { get; set; } = "system:user:update";
        public static string UserBatchDelete { get; set; } = "system:user:batchdelete";
        public static string UserDelete { get; set; } = "system:user:delete";

        // Role
        public static string RoleCreate { get; set; } = "system:role:create";
        public static string RoleSearch { get; set; } = "system:role:search";
        public static string RoleUpdate { get; set; } = "system:role:update";
        public static string RoleBatchDelete { get; set; } = "system:role:batchdelete";
        public static string RoleDelete { get; set; } = "system:role:delete";
    }
}
